package com.itheima.service;

import com.itheima.entity.Result;

import java.util.List;
import java.util.Map;

public interface OrderService {
    Result order(Map map) throws Exception;

    Map findById(Integer id) throws Exception;

    List<String> findOrderDate();

    Integer findOrderCount(String date);

    Integer findOrderStatusCount(String date);


    Map findOrderById(Integer id) throws Exception;
}
